﻿// /****************************************************************************************************************************
//  * 项目名称： 
//  * 类 名 称：EmptyClass
//  * 功能说明：
//  * 版    本：0.0.1
//  * 作    者：史垚祎
//  * 邮    箱：396038130@qq.com
//  * 创建时间：2024/10/17 16:03
//  * 更新人：
//  * 更新时间：
//  * 更新说明：
// /****************************************************************************************************************************/
//
using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;
using Org.BouncyCastle.Crypto;
using System.Xml.Linq;
namespace NP.BPMReportPlatform.Car.Dto
{
    [ExcelExporter(Name = "汽车漆&IC加急订单", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class CarPainticRushOrderOutPut
    {
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceId { get; set; }

        [ExporterHeader(DisplayName = "发起人")]
        public string StartUserName { get; set; }

        [ExporterHeader(DisplayName = "创建日期")]
        public DateTime CreateDate { get; set; }

        [ExporterHeader(IsIgnore = true)]
        public int Status { get; set; }

        [ExporterHeader(DisplayName = "状态")]
        public string StatusName { get; set; }

        [ExporterHeader(DisplayName = "当前处理人")]
        public string CurrentOperationUserName { get; set; }


        /// <summary>
        /// 产线
        /// </summary>
        [ExporterHeader(DisplayName = "产线")]
        public string ProductionLine { get; set; }

        /// <summary>
        /// 产业
        /// </summary>
        [ExporterHeader(DisplayName = "产业")]
        public string Industry { get; set; }

        /// <summary>
        /// 系别
        /// </summary>
        [ExporterHeader(DisplayName = "系别")]
        public string Grade { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        [ExporterHeader(DisplayName = "物料编码")]
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        [ExporterHeader(DisplayName = "物料名称")]
        public string MaterialName { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [ExporterHeader(DisplayName = "客户名称")]
        public string CustomerName { get; set; }

        /// <summary>
        /// 申请理由
        /// </summary>
        [ExporterHeader(DisplayName = "申请理由")]
        public string ApplyReason { get; set; }

        /// <summary>
        /// 工厂
        /// </summary>
        [ExporterHeader(DisplayName = "工厂")]
        public string Factory { get; set; }

        /// <summary>
        /// 带病保供批次数
        /// </summary>
        [ExporterHeader(DisplayName = "带病保供批次数")]
        public string SickCount { get; set; }


        /// <summary>
        /// 到达客户时间
        /// </summary>
        [ExporterHeader(DisplayName = "到达客户时间")]
        public DateTime ArriveTime { get; set; }

        /// <summary>
        /// 紧急订单数
        /// </summary>
        [ExporterHeader(DisplayName = "紧急订单数")]
        public string OrderCount { get; set; }

        /// <summary>
        /// 配方性质
        /// </summary>
        [ExporterHeader(DisplayName = "配方性质")]
        public string FormulaType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [ExporterHeader(IsIgnore = true)]
        public bool Checked1 { get; set; }

        [ExporterHeader(DisplayName = "《商品设计书、初始工艺、制板条件》")]
        public string Checked1Tag
        {
            get
            {
                if (Checked1)
                {
                    return "已完成";
                }
                return "-";
            }
        }

        /// <summary>
        /// 
        /// </summary>
        [ExporterHeader(IsIgnore = true)]
        public bool Checked2 { get; set; }

        [ExporterHeader(DisplayName = "《产品技术标准》（含检验计划、包装、储运）")]
        public string Checked2Tag
        {
            get
            {
                if (Checked2)
                {
                    return "已完成";
                }
                return "-";
            }
        }

        /// <summary>
        /// 
        /// </summary>
        [ExporterHeader(IsIgnore = true)]
        public bool Checked3 { get; set; }

        [ExporterHeader(DisplayName = "技术样漆")]
        public string Checked3Tag
        {
            get
            {
                if (Checked3)
                {
                    return "已完成";
                }
                return "-";
            }
        }

        /// <summary>
        /// 
        /// </summary>
        [ExporterHeader(IsIgnore = true)]
        public bool Checked4 { get; set; }

        [ExporterHeader(DisplayName = "技术标准板")]
        public string Checked4Tag
        {
            get
            {
                if (Checked4)
                {
                    return "已完成";
                }
                return "-";
            }
        }

        /// <summary>
        /// 
        /// </summary>
        [ExporterHeader(DisplayName = "《商品设计书、初始工艺、制板条件》描述")]
        public string Remark1 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [ExporterHeader(DisplayName = "《产品技术标准》（含检验计划、包装、储运）描述")]
        public string Remark2 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [ExporterHeader(DisplayName = "技术样漆描述")]
        public string Remark3 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [ExporterHeader(DisplayName = "技术标准板描述")]
        public string Remark4 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [ExporterHeader(DisplayName = "订单紧急情况其它说明")]
        public string Remark { get; set; }

        /// <summary>
        /// 完成时间
        /// </summary>
        [ExporterHeader(DisplayName = "紧急对应完成后，技术补充全部资料时间限制")]
        public DateTime FinishTime { get; set; }

        /// <summary>
        /// 联系人及电话
        /// </summary>
        [ExporterHeader(DisplayName = "销售代表紧急联系人及电话")]
        public string Contacts { get; set; }

        /// <summary>
        /// 新建单号
        /// </summary>
        [ExporterHeader(DisplayName = "新建单号")]
        public string NewNo { get; set; }



        /// <summary>
        /// 节点名称
        /// </summary>
        [ExporterHeader(DisplayName = "节点名称")]
        public string Node1Name { get; set; }

        /// <summary>
        /// 节点审批人
        /// </summary>
        [ExporterHeader(DisplayName = "节点审批人")]
        public string Node1Approve { get; set; }

        /// <summary>
        /// 节点审批时间
        /// </summary>
        [ExporterHeader(DisplayName = "节点审批时间")]
        public DateTime? Node1ApproveTime { get; set; }

        /// <summary>
        /// 节点名称
        /// </summary>
        [ExporterHeader(DisplayName = "节点名称")]
        public string Node2Name { get; set; }

        /// <summary>
        /// 节点审批人
        /// </summary>
        [ExporterHeader(DisplayName = "节点审批人")]
        public string Node2Approve { get; set; }

        /// <summary>
        /// 节点审批时间
        /// </summary>
        [ExporterHeader(DisplayName = "节点审批时间")]
        public DateTime? Node2ApproveTime { get; set; }

        /// <summary>
        /// 节点名称
        /// </summary>
        [ExporterHeader(DisplayName = "节点名称")]
        public string Node3Name { get; set; }

        /// <summary>
        /// 节点审批人
        /// </summary>
        [ExporterHeader(DisplayName = "节点审批人")]
        public string Node3Approve { get; set; }

        /// <summary>
        /// 节点审批时间
        /// </summary>
        [ExporterHeader(DisplayName = "节点审批时间")]
        public DateTime? Node3ApproveTime { get; set; }

        /// <summary>
        /// 节点名称
        /// </summary>
        [ExporterHeader(DisplayName = "节点名称")]
        public string Node4Name { get; set; }

        /// <summary>
        /// 节点审批人
        /// </summary>
        [ExporterHeader(DisplayName = "节点审批人")]
        public string Node4Approve { get; set; }

        /// <summary>
        /// 节点审批时间
        /// </summary>
        [ExporterHeader(DisplayName = "节点审批时间")]
        public DateTime? Node4ApproveTime { get; set; }


        [ExporterHeader(IsIgnore = true)]
        public string Url { get; set; }
    }
}

